Skip to contentSkip to conversation

vaGetSurfaceBufferWl() is not implemented at VAAPI Gallium state tracker

Bug 96350 [email protected] 1 participant 7 messages Jun 3, 2016 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=96350

Bug ID: 96350
Summary: vaGetSurfaceBufferWl() is not implemented at VAAPI
Gallium state tracker
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

vaGetSurfaceBufferWl() is not implemented at VAAPI Gallium state tracker, which prevents it's usage under Wayland.

But, after the DRI3 patches for hardware video decoding landed, NOT_IMPLEMENTED return was removed, making the false sense what this will work under Wayland as expected[1]. But it's still don't.

See the bug referenced under "See Also".

Also, I don't know actually, under which component should I file this bug. So redirect me if I had mistaken.

[1]:
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/context.c#n129

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=96350

--- Comment #1 from [email protected] ---
First, the change is nothing to do with DRI3.
Second, the change removing "NOT_IMPLEMENTED" is wayland display should be opened with DRM code path, and it's already implemented. the code here is not general switch to turn on the wayland support on vaapi, it's just one of the steps to complete that support and which has been implemented. Sorry for the confusion.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=96350

--- Comment #2 from Michel Dänzer <[email protected]> ---
Egor, does reverting commit 2f90d11d ("st/va: use drm render node for wayland display type") make totem work on Wayland?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=96350

--- Comment #3 from Egor Zaharov <[email protected]> --- (In reply to Michel Dänzer from comment #2)

Quoted 2 lines

Egor, does reverting commit 2f90d11d ("st/va: use drm render node for wayland display type") make totem work on Wayland?

No. This makes it just crash with Segfault.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=96350

--- Comment #4 from [email protected] ---
I found an issue with Totem player with DRI3 enabled, which is about glx of gstreamer-vaapi, it renews temporary pixmap each frame. I got a fix and have it sent to mesa-dev lists. But this is glx related, not sure if it will helps your case.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=96350

--- Comment #5 from Apostolos B. <[email protected]> --- This affect gstreamer playback in wayland (weston).

gst-play-1.0 --videosink vaapisink some_file.mp4 fails because vaGetSurfaceBufferWl is not implemented.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=96350

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/587.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel